import React from 'react';
import {Button,confirm,alert} from "react-ui-xmui";

const DialogDemo3 = () => {
  return (
    <div>
      <Button buttonType={'primary'} onClick={() => alert('hello')}>alert</Button>
      <Button onClick={()=>confirm('你确定要删除吗？',()=>{
        console.log('确认')},()=>{
        console.log('no')})}>confirm</Button>
    </div>
  );
};

export default DialogDemo3;